package com.oop8.teacher;

//1:在我的基础上,添加UI老师类,也有自我介绍和上课的方法
//自我介绍和之前相同,采用photoshop上课
public class TestTeacher {

	public static void main(String[] args) {
		Teacher j = new JavaTeacher("张老师", "工大校区");
		j.introduction();
		j.giveLesson();
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>");
		Teacher n = new DotNetTeacher("李老师", "金中环校区");
		n.introduction();
		n.giveLesson();
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>");
		Teacher u = new UITeacher("王老师", "葛大店校区");
		u.introduction();
		u.giveLesson();
	}

}
